package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "新增和修改分类传递的数据模型")
public class CategoryDTO implements Serializable {


    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("分类类型，1菜品分类，2套餐分类")
    private Integer type;

    @ApiModelProperty("分类名称")
    private String name;

    @ApiModelProperty("排序字段")
    private Integer sort;

}
